import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true,
    keepAlive: true
};
const pre = "/networkMarketing/";
export default {
  path: "/networkMarketing",
  title: "网络营销报表",
  meta,
  component: BasicLayout,
  children: [
    {
      path: 'marketingReport',
      name: `${pre}marketingReport`,
      meta: {
          ...meta,
          title: '营销报表'
      },
      component: () =>
      import ('@/pages/networkMarketing/marketingReport')
    },
    {
      path: 'consumerEntry',
      name: `${pre}consumerEntry`,
      meta: {
          ...meta,
          title: '费用支出录入'
      },
      component: () =>
      import ('@/pages/networkMarketing/consumerEntry')
    },
    {
      path: 'index',
      name: `${pre}index`,
      meta: {
          ...meta,
          title: '对话列表'
      },
      component: () =>
      import ('@/pages/networkMarketing/index')
    },
    {
      path: 'dialogFile',
      name: `${pre}dialogFile`,
      meta: {
          ...meta,
          title: '对话文件列表'
      },
      component: () =>
      import ('@/pages/networkMarketing/dialogFile')
    },
    // consumption
    {
      path: 'consumption',
      name: `${pre}consumption`,
      meta: {
          ...meta,
          title: '消费列表'
      },
      component: () =>
      import ('@/pages/networkMarketing/consumption')
    },
    {
      path: 'statements',
      name: `${pre}statements`,
      meta: {
          ...meta,
          title: '对帐单'
      },
      component: () =>
      import ('@/pages/networkMarketing/statements')
    },
    // channelConfiguration
    {
      path: 'channelList',
      name: `${pre}channelList`,
      meta: {
          ...meta,
          title: '渠道配置'
      },
      component: () =>
      import ('@/pages/networkMarketing/channelList')
    },
  ],
};
